package com.com02适配器模式.test;

public class V220ToV12 extends V220 implements V12{
    public V220ToV12(int v) {
        super(v);
    }

    @Override
    public int getV12() {
         int v = super.getV();
         v = v - 208;
        System.out.println("变压器做了减压处理,现在电压为：" + v);
        return v;
    }
}
